package top.aicey.ai.sparring.common.holder;

/**
 *
 */
public class SparringContextHolder {

    private static final ThreadLocal<SparringContext> sparringContextHolder = new ThreadLocal();


    public static final SparringContext getContext() {
        return sparringContextHolder.get();
    }

    public static final void setRequestHeader(SparringContext context) {
        sparringContextHolder.set(context);
    }

}
